package org.example.service;

import org.example.model.Order;
import org.json.JSONArray;
import java.util.List;

public interface OrderService {
    List<Order> getOrdersByUserId(Integer userId);
    Order getOrderByNumber(String orderNumber);
    boolean updateOrderStatus(String orderNumber, String status);
    boolean createOrder(Order order, JSONArray items);
    boolean deleteOrder(Integer orderId);
} 